package anul_2014.ASD;

import anul_2014.Programare.Citire;

public class Baza_10_in_baza_b {
	static int n, b;
	static void transf(int n, int b) {
		if(n>=b) {
			transf(n/b,b);
			System.out.print(n%b);
		}
		else
			System.out.print(n);
	}
	public static void main(String[] args) {
		n = Citire.citireInt();
		b = 2;
		transf(n,b);
	}
}
